namespace CSharpPro._0922_1;

public class demo2
{
   public  bool IsLeapYear(int year)
    {
        
        return (year % 4 == 0 && year % 100 != 0) || (year % 400 == 0);
    }
}